﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SystemCenterSoa.PoModel.Customer
{
    [Table("customer_information")]
   public  class CustomerPo
    {
        [Key]
        /// <summary>
        /// 主键id
        /// </summary>
        public int customer_id { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string customer_number { get; set; }

        /// <summary>
        /// 客户简称
        /// </summary>
        public string customer_for_short { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string customer_client_name { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        public string customer_company_address { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public string customer_postal_code { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string customer_linkman { get; set; }

        /// <summary>
        /// 公司电话
        /// </summary>
        public string customer_company_tel { get; set; }

        /// <summary>
        /// 传真号
        /// </summary>
        public string customer_fax_number { get; set; }

        /// <summary>
        /// 客户英文名
        /// </summary>
        public string extend_client_english_name { get; set; }

        /// <summary>
        /// 是否合作
        /// </summary>
        public string whether_cooperation_id { get; set; }

        /// <summary>
        /// 所在国家
        /// </summary>
        public int state_id { get; set; }

        /// <summary>
        /// 所在省份
        /// </summary>
        public int province_id { get; set; }

        /// <summary>
        /// 所在城市
        /// </summary>
        public int city_id { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        public string client_id { get; set; }

        /// <summary>
        /// 所属行业
        /// </summary>
        public string industry_id { get; set; }

        /// <summary>
        /// 分支机构
        /// </summary>
        public string extenf_embranchment { get; set; }

        /// <summary>
        /// Email
        /// </summary>
        public string extend_email { get; set; }

        /// <summary>
        /// 公司主页
        /// </summary>
        public string extend_homepage_of_a_company { get; set; }

        /// <summary>
        /// 关系建立时间
        /// </summary>
        public DateTime extend_relation_time { get; set; }

        /// <summary>
        /// 关系部门
        /// </summary>
        public string extend_relation_department { get; set; }

        /// <summary>
        /// 信用级别
        /// </summary>
        public string extend_credit_ratings_id { get; set; }

        /// <summary>
        /// 亲密度
        /// </summary>
        public string extend_intimacy_id { get; set; }

        /// <summary>
        /// 开户银行名称
        /// </summary>
        public string extend_bank_name { get; set; }

        /// <summary>
        /// 开户账号
        /// </summary>
        public string extend_bank_account { get; set; }

        /// <summary>
        /// 法定代表
        /// </summary>
        public string extend_legal_published { get; set; }

        /// <summary>
        /// 纳税人识别号
        /// </summary>
        public string extend_taxpayer_registration_number { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string extend_remark { get; set; }

        /// <summary>
        /// 企业代码
        /// </summary>
        public string enterprise_code { get; set; }

        public DateTime cust_create_time { get; set; }

        public string cust_create_people { get; set; }

        public DateTime cust_update_time { get; set; }

        public string cust_update_people { get; set; }

    }
}
